package com.ruiysoft.service.order.mq.bean;

import com.ruiysoft.service.order.consts.OrderOperateTypeEnum;

import java.io.Serializable;
import java.util.Date;

/**
 * Date : 2018/11/29
 *
 * @author WenJialu
 */
public class OrderMQAfterOperateBean implements Serializable {

	private static final long serialVersionUID = 8636911535912038584L;

	private boolean operateSuccess = false;
	private OrderOperateTypeEnum operateType;
	private String orderNo;
	private Long payAmount;
	private Long freight;
	private Date paidTime;
	private Date cashWithdrawableTime;
	private Long shopId;
	private Long userId;
	private Date finalSignTime;
	private String customerOpenId;

	public Long getUserId() {
		return userId;
	}

	public OrderMQAfterOperateBean setUserId(Long userId) {
		this.userId = userId;
		return this;
	}

	public boolean isOperateSuccess() {
		return operateSuccess;
	}

	public OrderMQAfterOperateBean setOperateSuccess(boolean operateSuccess) {
		this.operateSuccess = operateSuccess;
		return this;
	}

	public OrderOperateTypeEnum getOperateType() {
		return operateType;
	}

	public OrderMQAfterOperateBean setOperateType(OrderOperateTypeEnum operateType) {
		this.operateType = operateType;
		return this;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public OrderMQAfterOperateBean setOrderNo(String orderNo) {
		this.orderNo = orderNo;
		return this;
	}

	public Long getPayAmount() {
		return payAmount;
	}

	public OrderMQAfterOperateBean setPayAmount(Long payAmount) {
		this.payAmount = payAmount;
		return this;
	}

	public Long getFreight() {
		return freight;
	}

	public OrderMQAfterOperateBean setFreight(Long freight) {
		this.freight = freight;
		return this;
	}


	public Date getFinalSignTime() {
		return finalSignTime;
	}

	public OrderMQAfterOperateBean setFinalSignTime(Date finalSignTime) {
		this.finalSignTime = finalSignTime;
		return this;
	}

	public Date getPaidTime() {
		return paidTime;
	}

	public OrderMQAfterOperateBean setPaidTime(Date paidTime) {
		this.paidTime = paidTime;
		return this;
	}

	public Date getCashWithdrawableTime() {
		return cashWithdrawableTime;
	}

	public OrderMQAfterOperateBean setCashWithdrawableTime(Date cashWithdrawableTime) {
		this.cashWithdrawableTime = cashWithdrawableTime;
		return this;
	}

	public Long getShopId() {
		return shopId;
	}

	public OrderMQAfterOperateBean setShopId(Long shopId) {
		this.shopId = shopId;
		return this;
	}

	public String getCustomerOpenId() {
		return customerOpenId;
	}

	public OrderMQAfterOperateBean setCustomerOpenId(String customerOpenId) {
		this.customerOpenId = customerOpenId;
		return this;
	}
}
